// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>Vecen.BangChuang</Solution>
// <Project>Vecen.BangChuang.Application</Project>
// <FileName>IWalletAdminAppService.cs</FileName>
// <CreateTime>2017-05-16 17:12</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-05-16 17:12" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Vecen.BangChuang.BangChuang.Wallets.Dtos;

namespace Vecen.BangChuang.BangChuang.Wallets {

    /// <summary>
    /// 钱包后台相关操作
    /// </summary>
    public interface IWalletAdminAppService: IApplicationService {


        /// <summary>
        /// 获得所有提现记录
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<WithdrawForAdminListOutDto>> GetWithdrawsAsync(GetAllWithdrawForAdminInputDto input);

        /// <summary>
        /// 提现审核通过
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task AgreeWithdrawApplyAsync(int id);

        /// <summary>
        /// 提现申请拒绝
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task RejectWithdrawApplyAsync(int id);
    }
}